package com.starsea.book.ui.newpage.entity

import com.starsea.book.data.entities.Book
import java.io.Serializable

/**
 * @author Lee
 * @createTime 2024-01-25 13 GMT+8
 * @desc :
 */


data class BookShelfParentEntity(
    var favorTagId: String? = "",
    var favorTagName: String? = "",
    var newReadTime: String? = "",
    var topTime: String? = "",
    var isTop: Int? = 0,
    var bookShelfBooKDetailOutList: MutableList<BookShelfEntity> = arrayListOf(),
    var book: Book? = null,
    var isSel: Boolean = false,
    var isLocal: Boolean = false,
)

class BookShelfEntity : Serializable {
    var bookCover: String? = ""
    var bookTitle: String? = ""
    var bookId: String? = ""
    var sectionTitle: String? = ""
    var sectionId: String? = ""
    var favorTagName: String? = ""
    var bookShelfId: String? = ""
    var bookState: Int? = 0
    var shelfType: Int? = 0
    var book: Book? = null
    var isSel: Boolean = false
    var isLocal: Boolean = false
    override fun toString(): String {
        return "BookShelfEntity(bookCover=$bookCover, bookTitle=$bookTitle, bookId=$bookId, sectionTitle=$sectionTitle, sectionId=$sectionId, favorTagName=$favorTagName, bookShelfId=$bookShelfId, bookState=$bookState, shelfType=$shelfType, book=$book, isSel=$isSel, isLocal=$isLocal)"
    }


}